import { createApp } from "vue";
import "./App.scss";
import index from "./index.vue";

import * as ElementPlusIconsVue from "@element-plus/icons-vue";
import * as echarts from "echarts";

const app = createApp(index);
for (const [key, component] of Object.entries(ElementPlusIconsVue)) {
  app.component(key, component);
}

app.config.globalProperties.$echarts = echarts;
app.mount("#app");
